<!DOCTYPE HTML>
<html>
   <head>
   <link rel="stylesheet" href="css/Demo.css">
   <link rel="stylesheet" href="css/Playground.Avatars.css">
    <link rel="stylesheet" href="css/jBox.all.css">
    <script src="https://cdn.staticfile.org/jquery/2.0.0/jquery.min.js"></script>
   <script src="js/jBox.all.js"></script>
    <script src="js/Playground.Avatars.js"></script>
    <script src="//pages/js/GlobalVariable.js"></script>
   <meta charset="utf-8">
   <title>WS</title>        
   </head>
   <body>
   <script type="text/javascript">
   $(document).ready(function(){
	 //alert(username);
	 var alldata;
	$.ajax({
	              url:"http://127.0.0.1:8090/info",
	              type: 'GET',
	              dataType: 'json',
	              async: false,//打开同步
	              success: function (data) {
	            	  console.log(data);
	            	  alldata=data;
	              }
	  })
if(alldata!=null){
	alert("success!");
}else alert("faild!");
	  
	 })
   </script>
   <main class="container">
   <div id="DemoAvatars">Clickme</div>
    </main>
   </body>
  
</html>